package com.luck.model.po;

import java.util.Date;

public class Blog {
    private Integer blogId;

    private Integer userId;

    private Byte userClass;

    private String blogName;

    private Short blogClass;

    private String blogKeyword;

    private String blogContent;

    private Integer readingAmount;

    private Integer likeAmount;

    private Date createDate;

    private Boolean visible;

    public Blog(Integer blogId, Integer userId, Byte userClass, String blogName, Short blogClass, String blogKeyword, String blogContent, Integer readingAmount, Integer likeAmount, Date createDate, Boolean visible) {
        this.blogId = blogId;
        this.userId = userId;
        this.userClass = userClass;
        this.blogName = blogName;
        this.blogClass = blogClass;
        this.blogKeyword = blogKeyword;
        this.blogContent = blogContent;
        this.readingAmount = readingAmount;
        this.likeAmount = likeAmount;
        this.createDate = createDate;
        this.visible = visible;
    }

    public Blog() {
        super();
    }

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Byte getUserClass() {
        return userClass;
    }

    public void setUserClass(Byte userClass) {
        this.userClass = userClass;
    }

    public String getBlogName() {
        return blogName;
    }

    public void setBlogName(String blogName) {
        this.blogName = blogName == null ? null : blogName.trim();
    }

    public Short getBlogClass() {
        return blogClass;
    }

    public void setBlogClass(Short blogClass) {
        this.blogClass = blogClass;
    }

    public String getBlogKeyword() {
        return blogKeyword;
    }

    public void setBlogKeyword(String blogKeyword) {
        this.blogKeyword = blogKeyword == null ? null : blogKeyword.trim();
    }

    public String getBlogContent() {
        return blogContent;
    }

    public void setBlogContent(String blogContent) {
        this.blogContent = blogContent == null ? null : blogContent.trim();
    }

    public Integer getReadingAmount() {
        return readingAmount;
    }

    public void setReadingAmount(Integer readingAmount) {
        this.readingAmount = readingAmount;
    }

    public Integer getLikeAmount() {
        return likeAmount;
    }

    public void setLikeAmount(Integer likeAmount) {
        this.likeAmount = likeAmount;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Boolean getVisible() {
        return visible;
    }

    public void setVisible(Boolean visible) {
        this.visible = visible;
    }
}